<?php
namespace TeamPlayers;
class profileController {
	
	function __construct(){
		if(TeamPlayers::$ac->authenticated){
			TeamPlayers::$smarty->display("usermanagement/profile.tpl");
		} else {
			TeamPlayers::$smarty->assign("message", "Not logged in");
			TeamPlayers::$smarty->display("genericMessages/noAccess.tpl");
		}
		
	}
}